<!DOCTYPE html>
<html>
<head>
<title>margin-trim: grid-block-start</title>
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-grid">
<link rel="match" href="grid-block-start-ref.html">
<meta name="assert" content="block-start should trim block-start margins of items on first row">
<style>
grid {
    display: inline-grid;
    border: 1px solid black;
    grid-template-columns: auto auto;
    margin-trim: block-start;
}
item {
    display: block;
    background-color: green;
    width: 50px;
    height: 50px;
    margin-block-start: 10px;
}
</style>
</head>
<body>
<grid>
<item></item>
<item></item>
<item></item>
<item></item>
</grid>
</body>
</html>
